<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html" charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no,minimal-ui" />
    <meta name="format-detection" content="telephone=no">
<script>
  (function (doc, win) {
    var docEl = doc.documentElement,
      resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize',
      recalc = function () {
        var clientWidth = docEl.clientWidth;
        if (!clientWidth) return;
        docEl.style.fontSize = 100 * (clientWidth / 1080) + 'px';
      };
    recalc(); 
    if (!doc.addEventListener) return;
    win.addEventListener(resizeEvt, recalc, false);
    doc.addEventListener('DOMContentLoaded', recalc, false);
  })(document, window);
</script>
<style>
* { padding: 0; margin: 0; box-sizing: border-box; }
img { border: none; vertical-align: middle; }
a, a:hover, a:link, a:visited, a:active { text-decoration:none; -webkit-tap-highlight-color:transparent; tap-highlight-color:transparent; }
body {
  background-color: #F5F6F7;
  font-size: .36rem;
  font-family: 'Microsoft Yahei';
}
.content {
  padding: 0.5rem .4rem;
  line-height: .7rem;
  background-color: #FFF;
  font-size: .36rem; 
}
.content p {
  font-size: 100%;
}
</style>
<title></title>
</head>
<body>
  <div class="content"></div>

  <script src="{{ asset('/admin/js/jquery-2.1.4.min.js') }}"></script>

  <script>
    var type = "{{$type}}"
    var url = "{{url('api/get_article')}}"
    $.post(url,{type:type},function(res){
        if(res.status == 1){
            $('.content').html(res.data.content);
            document.title = res.data.title;
        }else{
            $('.content').html(res.msg);
        }

    });
  </script>
</body>
</html>
